package com.googlecode.imanager.client.value.el;

/**
 * @author wellsantos@wellsantos.com
 * @since 0.01
 */
public class Addition extends CoupleOperation {

    private static final long serialVersionUID = 1L;
    
    public Addition(Expression leftExpression, Expression rightExpression) {
        super(leftExpression, rightExpression);
    }
    
    @Override
    public Double getValue() {
        return convertToDouble(leftExpression) + convertToDouble(rightExpression);
    }

}
